#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2020/10/26 17:21
# @Author  : Crissu
# @Site    : 
# @File    : universalConfig.py
# @Software: PyCharm

idx2classMap = {78: '79dao_mei_yan_die', 20: '152she_feng_die', 2: '104huang_xing_tian_niu',
                31: '18sang_ji_sheng', 47: '33lv_hui_die', 5: '116hei_mai_jia_die',
                21: '158chong_yang_mu_jin_ban_e', 3: '109kong_zi_qian_qiao_jia', 56: '43bi_feng_die',
                76: '74shi_xing_piao_ying_ye_jia', 4: '112bai_nong_die', 27: '171guang_jian_xing_tian_niu',
                43: '2niu_qie_zi', 37: '24ping_che_qian', 70: '60cui_lan_yan_jia_die',
                34: '20bai_mao', 79: '81hei_wei_ye_chan', 59: '46ban_feng_die',
                71: '61xiao_hong_jia_die', 66: '55zhong_huan_jia_die', 63: '50lao_bao_jia_die',
                46: '32lv_zhong_si', 16: '141mei_guo_bai_e', 61: '48sui_ban_qing_feng_die',
                60: '47zhong_hua_cao_zhong', 45: '31ya_hui_die', 30: '17gui_zhen_cao',
                52: '39zhi_wen_dao_nong_die', 32: '19lei_lu_e', 51: '38an_mai_cai_fen_die',
                19: '150qing_feng_die', 8: '123mian_huang', 49: '35zi_jing_jia',
                28: '172bian_qiao_jia', 74: '70jin_shang_feng_die', 1: '101huang_yang_juan_ye_ming',
                75: '71zhang_jian_ji_yuan_chun', 62: '49liu_li_jia_die', 48: '34zhang_wei_she_feng_die',
                36: '22nie_li', 9: '126hei_e_guang_ye_jia', 54: '41hu_po_dou_fen_die', 38: '25tun_cao',
                0: '100zhu_ma_shuang_ji_tian_niu', 11: '12xi_han_lian_zi_cao', 7: '11yang_ti',
                72: '63liu_li_hui_die', 41: '28ban_yuan_dou_fen_die', 73: '64hong_he_ban_tui_huang',
                24: '163sang_tian_niu', 80: '83hong_ji_zhang_chun', 17: '146xing_tian_niu', 35: '21juan_fen_die',
                67: '57ri_ben_tiao_zhong_si', 25: '168yu_feng_e', 13: '137qu_wen_zhi_jia_die',
                53: '40dong_ya_fei_huang', 65: '54bai_dai_ao_jia_die', 40: '27feng_yan_lian',
                23: '161ku_qiu_luo_wen_e', 77: '77tou_ming_shu_guang_la_chan', 57: '44qing_bei_zhang_hui_tian_e',
                12: '134zhong_hua_xi_shuai', 84: '94duan_ban_you_cao_zhong', 81: '85mei_yan_jia_die',
                69: '5nan_fang_tu_si_zi', 39: '26dai_huang_feng', 29: '178wu_jiu_da_can_e', 42: '29cao_tu',
                26: '16wu_zhao_jin_long', 6: '119dou_yan_jing', 33: '1tu_si_zi', 82: '87hei_nong_die',
                10: '128guang_lu_e', 15: '13luo_shi', 68: '59si_dai_feng_die', 14: '139yu_dai_feng_die',
                64: '51gan_shu_la_gui_jia', 55: '42hei_dai_shi_ya_ying', 44: '30hei_wei_ao_da_ye_chan',
                50: '36ka_fei_tou_chi_tian_e', 22: '15ye_ge', 83: '91da_hong_jia_die', 58: '45pu_tong_lou_gu',
                18: '14lv_cao'}

class2idxMap = {'79dao_mei_yan_die': 78, '152she_feng_die': 20, '104huang_xing_tian_niu': 2, '18sang_ji_sheng': 31,
                '33lv_hui_die': 47, '116hei_mai_jia_die': 5, '158chong_yang_mu_jin_ban_e': 21,
                '109kong_zi_qian_qiao_jia': 3, '43bi_feng_die': 56, '74shi_xing_piao_ying_ye_jia': 76,
                '112bai_nong_die': 4, '171guang_jian_xing_tian_niu': 27, '2niu_qie_zi': 43, '24ping_che_qian': 37,
                '60cui_lan_yan_jia_die': 70, '20bai_mao': 34, '81hei_wei_ye_chan': 79, '46ban_feng_die': 59,
                '61xiao_hong_jia_die': 71, '55zhong_huan_jia_die': 66, '50lao_bao_jia_die': 63, '32lv_zhong_si': 46,
                '141mei_guo_bai_e': 16, '48sui_ban_qing_feng_die': 61, '47zhong_hua_cao_zhong': 60, '31ya_hui_die': 45,
                '17gui_zhen_cao': 30, '39zhi_wen_dao_nong_die': 52, '19lei_lu_e': 32, '38an_mai_cai_fen_die': 51,
                '150qing_feng_die': 19, '123mian_huang': 8, '35zi_jing_jia': 49, '172bian_qiao_jia': 28,
                '70jin_shang_feng_die': 74, '101huang_yang_juan_ye_ming': 1, '71zhang_jian_ji_yuan_chun': 75,
                '49liu_li_jia_die': 62, '34zhang_wei_she_feng_die': 48, '22nie_li': 36, '126hei_e_guang_ye_jia': 9,
                '41hu_po_dou_fen_die': 54, '25tun_cao': 38, '100zhu_ma_shuang_ji_tian_niu': 0,
                '12xi_han_lian_zi_cao': 11, '11yang_ti': 7, '63liu_li_hui_die': 72, '28ban_yuan_dou_fen_die': 41,
                '64hong_he_ban_tui_huang': 73, '163sang_tian_niu': 24, '83hong_ji_zhang_chun': 80,
                '146xing_tian_niu': 17, '21juan_fen_die': 35, '57ri_ben_tiao_zhong_si': 67, '168yu_feng_e': 25,
                '137qu_wen_zhi_jia_die': 13, '40dong_ya_fei_huang': 53, '54bai_dai_ao_jia_die': 65,
                '27feng_yan_lian': 40, '161ku_qiu_luo_wen_e': 23, '77tou_ming_shu_guang_la_chan': 77,
                '44qing_bei_zhang_hui_tian_e': 57, '134zhong_hua_xi_shuai': 12, '94duan_ban_you_cao_zhong': 84,
                '85mei_yan_jia_die': 81, '5nan_fang_tu_si_zi': 69, '26dai_huang_feng': 39, '178wu_jiu_da_can_e': 29,
                '29cao_tu': 42, '16wu_zhao_jin_long': 26, '119dou_yan_jing': 6, '1tu_si_zi': 33, '87hei_nong_die': 82,
                '128guang_lu_e': 10, '13luo_shi': 15, '59si_dai_feng_die': 68, '139yu_dai_feng_die': 14,
                '51gan_shu_la_gui_jia': 64, '42hei_dai_shi_ya_ying': 55, '30hei_wei_ao_da_ye_chan': 44,
                '36ka_fei_tou_chi_tian_e': 50, '15ye_ge': 22, '91da_hong_jia_die': 83, '45pu_tong_lou_gu': 58,
                '14lv_cao': 18}

ywName2zhNameMap = {'100zhu_ma_shuang_ji_tian_niu': '苎麻双脊天牛', '101huang_yang_juan_ye_ming': '黄杨绢野螟', '104huang_xing_tian_niu': '黄星天牛', '109kong_zi_qian_qiao_jia': '孔子前锹甲', '112bai_nong_die': '白弄蝶', '116hei_mai_jia_die': '黑脉蛱蝶', '119dou_yan_jing': '豆芫菁', '11yang_ti': '羊蹄', '123mian_huang': '棉蝗', '126hei_e_guang_ye_jia': '黑额光叶甲', '128guang_lu_e': '广鹿蛾', '12xi_han_lian_zi_cao': '喜旱莲子草', '134zhong_hua_xi_shuai': '中华蟋蟀', '137qu_wen_zhi_jia_die': '曲纹蜘蛱蝶', '139yu_dai_feng_die': '玉带凤蝶', '13luo_shi': '络石', '141mei_guo_bai_e': '美国白蛾', '146xing_tian_niu': '星天牛', '14lv_cao': '葎草', '150qing_feng_die': '青凤蝶', '152she_feng_die': '麝凤蝶', '158chong_yang_mu_jin_ban_e': '重阳木锦斑蛾', '15ye_ge': '野葛', '161ku_qiu_luo_wen_e': '枯球箩纹蛾', '163sang_tian_niu': '桑天牛', '168yu_feng_e': '榆凤蛾', '16wu_zhao_jin_long': '五爪金龙', '171guang_jian_xing_tian_niu': '光肩星天牛', '172bian_qiao_jia': '扁锹甲', '178wu_jiu_da_can_e': '乌桕大蚕蛾', '17gui_zhen_cao': '鬼针草', '18sang_ji_sheng': '桑寄生', '19lei_lu_e': '蕾鹿蛾', '1tu_si_zi': '菟丝子', '20bai_mao': '白茅', '21juan_fen_die': '绢粉蝶', '22nie_li': '蘖荔', '24ping_che_qian': '平车前', '25tun_cao': '豚草', '26dai_huang_feng': '大黄蜂', '27feng_yan_lian': '凤眼莲', '28ban_yuan_dou_fen_die': '斑缘豆粉蝶', '29cao_tu': '草兔', '2niu_qie_zi': '牛茄子', '30hei_wei_ao_da_ye_chan': '黑尾凹大叶蝉', '31ya_hui_die': '蚜灰蝶', '32lv_zhong_si': '绿螽蟖', '33lv_hui_die': '绿灰蝶', '34zhang_wei_she_feng_die': '长尾麝凤蝶', '35zi_jing_jia': '紫茎甲', '36ka_fei_tou_chi_tian_e': '咖啡透翅天蛾', '38an_mai_cai_fen_die': '暗脉菜粉蝶', '39zhi_wen_dao_nong_die': '直纹稻弄蝶', '40dong_ya_fei_huang': '东亚飞蝗', '41hu_po_dou_fen_die': '琥珀豆粉蝶', '42hei_dai_shi_ya_ying': '黑带食蚜蝇', '43bi_feng_die': '碧凤蝶', '44qing_bei_zhang_hui_tian_e': '青背长喙天蛾', '45pu_tong_lou_gu': '普通蝼蛄', '46ban_feng_die': '斑凤蝶', '47zhong_hua_cao_zhong': '中华草螽', '48sui_ban_qing_feng_die': '碎斑青凤蝶', '49liu_li_jia_die': '琉璃蛱蝶', '50lao_bao_jia_die': '老豹蛱蝶', '51gan_shu_la_gui_jia': '甘薯腊龟甲', '54bai_dai_ao_jia_die': '白带螯蛱蝶', '55zhong_huan_jia_die': '中环蛱蝶', '57ri_ben_tiao_zhong_si': '日本条螽蟖', '59si_dai_feng_die': '丝带凤蝶', '5nan_fang_tu_si_zi': '南方菟丝子', '60cui_lan_yan_jia_die': '翠蓝眼蛱蝶', '61xiao_hong_jia_die': '小红蛱蝶', '63liu_li_hui_die': '琉璃灰蝶', '64hong_he_ban_tui_huang': '红褐斑腿蝗', '70jin_shang_feng_die': '金裳凤蝶', '71zhang_jian_ji_yuan_chun': '长肩棘缘蝽', '74shi_xing_piao_ying_ye_jia': '十星瓢萤叶甲', '77tou_ming_shu_guang_la_chan': '透明疏广蜡蝉', '79dao_mei_yan_die': '稻眉眼蝶', '81hei_wei_ye_chan': '黑尾叶蝉', '83hong_ji_zhang_chun': '红脊长蝽', '85mei_yan_jia_die': '美眼蛱蝶', '87hei_nong_die': '黑弄蝶', '91da_hong_jia_die': '大红蛱蝶', '94duan_ban_you_cao_zhong': '短瓣优草螽'}


